import request from "../../sdk/utils/request";

export const login = (user) => {
  return request({
    url: "/api/login",
    method: "get",
    params: {
      username: user.username,
      password: user.password,
    },
  });
};

export const test = () => {
  return request({
    url: "/api/test",
    method: "get",
  });
};
